package com.erp.erp_entitys.CarryPlan;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 出运计划主信息表(CarryPlan)实体类
 *
 * @author makejava
 * @since 2020-10-15 23:31:21
 */
public class CarryPlan implements Serializable {
    private static final long serialVersionUID = -43413039748643051L;
    /**
    * ID
    */
    private Integer id;
    /**
    * ParentID
    */
    private Integer parentid;
    /**
    * 部门ID
    */
    private Integer organizedid;
    /**
    * 客户ID
    */
    private Integer custid;

    private String custname;
    /**
    * 计划出运日期
    */
    //时间日期格式转换
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date carrydate;
    /**
    * 出运计划编号
    */
    private Integer carryinvoiceno;
    /**
    * 单据类型
    */
    private String billtype;
    /**
    * 联系人
    */
    private String linker;
    /**
    * 签约公司抬头ID
    */
    private Integer companyid;

    /**
     * 签约公司名称
     */
    private String companyName;
    /**
    * 币种
    */
    private String moneykind;
    /**
    * 美元兑人民币汇率
    */
    private BigDecimal exchangerate;
    /**
    * 起运地
    */
    private String startplace;
    /**
    * 目的地
    */
    private String endplace;
    /**
    * 转运地
    */
    private String transferplace;
    /**
    * 运输方式
    */
    private String transmode;
    /**
    * 价格术语
    */
    private String priceterm;
    /**
    * 付款方式
    */
    private String paymentterm;
    /**
    * 运抵国
    */
    private String targetcountry;
    /**
    * 出运日期
    */
    //时间日期格式转换
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date shippingdate;
    /**
    * 分批装运
    */
    private String batchmode;
    /**
    * 银行ID
    */
    private Integer bankid;

    /**
     * 银行名称
     */
    private String bankname;

    /**
    * 创建时间
    */
    //时间日期格式转换
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createtime;
    /**
    * 编辑时间
    */
    //时间日期格式转换
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date edittime;
    /**
    * 备注
    */
    private String memo;
    /**
    * 操作员编号
    */
    private String opcode;
    /**
    * 操作员姓名
    */
    private String opname;
    /**
    * 客户所属业务员编号
    */
    private String custopcode;
    /**
    * 客户所属业务员姓名
    */
    private String custopname;
    /**
    * 当前客户所属业务员编号
    */
    private String curropcode;
    /**
    * 当前客户所属业务员姓名
    */
    private String curropname;
    /**
    * 转移业务员编号
    */
    private String transopcode;
    /**
    * 状态(1.草稿箱 2.待批箱 3.已批箱 4.完成箱 5.垃圾箱)
    */
    private String status;
    /**
    * 业务模式
    */
    private String businessmode;
    /**
    * 货号日期
    */
    private String profinishdate;
    /**
    * 品牌
    */
    private String brand;
    /**
    * 仓库
    */
    private String stock;
    /**
    * 箱型
    */
    private String boxtype;
    /**
    * 账期
    */
    private String payday;
    /**
    * 报关抬头
    */
    private String declarecompany;
    /**
     * 合同号
     */
    private String customercontractno;



    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getCustomercontractno() {
        return customercontractno;
    }

    public void setCustomercontractno(String customercontractno) {
        this.customercontractno = customercontractno;
    }

    public String getSalescontractno() {
        return salescontractno;
    }

    public void setSalescontractno(String salescontractno) {
        this.salescontractno = salescontractno;
    }

    public Integer getInvoicetotalamount() {
        return invoicetotalamount;
    }

    public void setInvoicetotalamount(Integer invoicetotalamount) {
        this.invoicetotalamount = invoicetotalamount;
    }

    public String getTranshipment() {
        return transhipment;
    }

    public void setTranshipment(String transhipment) {
        this.transhipment = transhipment;
    }

    /**
     * 销售合同号
     */

    private String salescontractno;
    /**
     * 发票总额
     */
    private Integer invoicetotalamount;
    /**
     * 传船运输
     */
    private String transhipment;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public Integer getOrganizedid() {
        return organizedid;
    }

    public void setOrganizedid(Integer organizedid) {
        this.organizedid = organizedid;
    }

    public Integer getCustid() {
        return custid;
    }

    public void setCustid(Integer custid) {
        this.custid = custid;
    }


    public void setCustname(String custname) {
        this.custname = custname;
    }

    public String getCustname() {
        return custname;
    }

    public Date getCarrydate() {
        return carrydate;
    }

    public void setCarrydate(Date carrydate) {
        this.carrydate = carrydate;
    }

    public Integer getCarryinvoiceno() {
        return carryinvoiceno;
    }

    public void setCarryinvoiceno(Integer carryinvoiceno) {
        this.carryinvoiceno = carryinvoiceno;
    }

    public String getBilltype() {
        return billtype;
    }

    public void setBilltype(String billtype) {
        this.billtype = billtype;
    }

    public String getLinker() {
        return linker;
    }

    public void setLinker(String linker) {
        this.linker = linker;
    }

    public Integer getCompanyid() {
        return companyid;
    }

    public void setCompanyid(Integer companyid) {
        this.companyid = companyid;
    }

    public String getMoneykind() {
        return moneykind;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname;
    }

    public void setMoneykind(String moneykind) {
        this.moneykind = moneykind;
    }

    public BigDecimal getExchangerate() {
        return exchangerate;
    }

    public void setExchangerate(BigDecimal exchangerate) {
        this.exchangerate = exchangerate;
    }

    public String getStartplace() {
        return startplace;
    }

    public void setStartplace(String startplace) {
        this.startplace = startplace;
    }

    public String getEndplace() {
        return endplace;
    }

    public void setEndplace(String endplace) {
        this.endplace = endplace;
    }

    public String getTransferplace() {
        return transferplace;
    }

    public void setTransferplace(String transferplace) {
        this.transferplace = transferplace;
    }

    public String getTransmode() {
        return transmode;
    }

    public void setTransmode(String transmode) {
        this.transmode = transmode;
    }

    public String getPriceterm() {
        return priceterm;
    }

    public void setPriceterm(String priceterm) {
        this.priceterm = priceterm;
    }

    public String getPaymentterm() {
        return paymentterm;
    }

    public void setPaymentterm(String paymentterm) {
        this.paymentterm = paymentterm;
    }

    public String getTargetcountry() {
        return targetcountry;
    }

    public void setTargetcountry(String targetcountry) {
        this.targetcountry = targetcountry;
    }

    public Date getShippingdate() {
        return shippingdate;
    }

    public void setShippingdate(Date shippingdate) {
        this.shippingdate = shippingdate;
    }

    public String getBatchmode() {
        return batchmode;
    }

    public void setBatchmode(String batchmode) {
        this.batchmode = batchmode;
    }

    public Integer getBankid() {
        return bankid;
    }

    public void setBankid(Integer bankid) {
        this.bankid = bankid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getEdittime() {
        return edittime;
    }

    public void setEdittime(Date edittime) {
        this.edittime = edittime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getOpcode() {
        return opcode;
    }

    public void setOpcode(String opcode) {
        this.opcode = opcode;
    }

    public String getOpname() {
        return opname;
    }

    public void setOpname(String opname) {
        this.opname = opname;
    }

    public String getCustopcode() {
        return custopcode;
    }

    public void setCustopcode(String custopcode) {
        this.custopcode = custopcode;
    }

    public String getCustopname() {
        return custopname;
    }

    public void setCustopname(String custopname) {
        this.custopname = custopname;
    }

    public String getCurropcode() {
        return curropcode;
    }

    public void setCurropcode(String curropcode) {
        this.curropcode = curropcode;
    }

    public String getCurropname() {
        return curropname;
    }

    public void setCurropname(String curropname) {
        this.curropname = curropname;
    }

    public String getTransopcode() {
        return transopcode;
    }

    public void setTransopcode(String transopcode) {
        this.transopcode = transopcode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getBusinessmode() {
        return businessmode;
    }

    public void setBusinessmode(String businessmode) {
        this.businessmode = businessmode;
    }

    public String getProfinishdate() {
        return profinishdate;
    }

    public void setProfinishdate(String profinishdate) {
        this.profinishdate = profinishdate;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }

    public String getBoxtype() {
        return boxtype;
    }

    public void setBoxtype(String boxtype) {
        this.boxtype = boxtype;
    }

    public String getPayday() {
        return payday;
    }

    public void setPayday(String payday) {
        this.payday = payday;
    }

    public String getDeclarecompany() {
        return declarecompany;
    }

    public void setDeclarecompany(String declarecompany) {
        this.declarecompany = declarecompany;
    }

}